package com.chai.dao;

import com.chai.pojo.TravelGroup;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface TravelGroupDao {
    void add(TravelGroup travelGroup);

    void setTravelGroupAndTravelItem(Map map);

    Page findPage(String queryString);


    TravelGroup get(Integer id);

    Integer[] getTravelItemIdsByTravelGroupId(Integer id);

    void update(TravelGroup travelGroup);

    void deleteTp(Integer id);

    void delete(Integer id);

    List<TravelGroup> findAll();

    List<TravelGroup> findTravelGroupBySetmealId(Integer id);
}
